{extend name='layout/main' /}

{block name='main'}
<div class="title">资金查询 > 实时资金查询</div>
<div class="table data_table">
    <table id="userlist">
        <tr>
            <th>编号</th>
            <th>用户名</th>
            <th>交易账号</th>
            <th>净值</th>
            <th>结余</th>
            <th>保证金</th>
            <th>可用保证金</th>
            <th>冻结资金</th>
            <th>浮动盈亏</th>
            <th>风险率</th>
        </tr>

        {foreach $money as $it}
        <tr>
            <td>{$it->pid}</td>
            <td>{$it->user}</td>
            <td>{$it->account}</td>
            <td>{$it->value}</td>
            <td>{$it->cash}</td>
            <td>{$it->bail}</td>
            <td>{$it->free_bail}</td>
            <td>{$it->freeze_money}</td>
            <td>{$it->float_pl}</td>
            <td>{$it->risk}</td>
        </tr>
        {/foreach}
    </table>
</div>

<div class="page">
    {$money->render()}
    <div class="page_record">共<strong>{$money->total()}</strong>条数据，每页显示：<strong>{$money->listRows()}</strong>条记录  共<strong>{$money->lastPage()}</strong>页</div>
</div>


{/block}

